package com.apps.member.service.impl;

import com.apps.member.model.po.KupaMemberLoginRecord;
import com.apps.member.dao.KupaMemberLoginRecordMapper;
import com.apps.member.service.IKupaMemberLoginRecordService;
import com.apps.sannotation.keys.JoinKey;
import com.apps.saspect.ThreadLock;
import com.apps.sworld.dao.impl.sDaoImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 大鹏
 * @since 2020-10-02
 */
@Service
public class KupaMemberLoginRecordServiceImpl extends sDaoImpl<KupaMemberLoginRecordMapper, KupaMemberLoginRecord> implements IKupaMemberLoginRecordService {


    @ThreadLock
    @Override
    public void saveToDB(@JoinKey Integer member_id)
    {
        KupaMemberLoginRecord loginRecord=new KupaMemberLoginRecord();
        loginRecord.setMember_id(member_id);
        saveToDB(loginRecord);
    }
}
